package com.senlingspace.system.mapper;

import com.senlingspace.system.domain.SlkjCustomer;

import java.util.List;

/**
 * 会员信息Mapper接口
 *
 * @author lebronjames
 * @date 2024/09/26
 */
public interface SlkjCustomerMapper {

    int insertCustomer(SlkjCustomer customer);

    SlkjCustomer getCustomerByCustomerId(Long customerId);

    SlkjCustomer getCustomerByPhone(String phone);

    SlkjCustomer getCustomerByOpenId(String openId);

    List<SlkjCustomer> getAllCustomers();

    int updateCustomerByCustomerId(SlkjCustomer customer);

}
